#include <iostream>
#include <bitset>
using namespace std;
int main()
{
	short int a(1);
	short int b(0);
	while(a>b)
	{
		b=a;
		a=a+1;
	}
	cout<<b<<endl;
	bitset<sizeof(short)*8> f;
	f=b;
	cout<<f<<endl;
	cout<<hex<<b<<endl;
	
	
	
	
	
	
	
	
	return 0;
}

